package ${pkg}.entity;

import lombok.*;
import com.boe.common.base.*;
import com.boe.common.base.jpa.*;
import javax.persistence.Entity;
import javax.validation.constraints.*;
import java.util.*;
import java.time.*;
import com.boe.common.util.*;
import org.hibernate.annotations.*;
import javax.persistence.*;

/**
* ${entityCn}
*
* @author ${user}
* @since ${now}
*/
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@DynamicInsert(value = true)
@DynamicUpdate(value = true)
@EqualsAndHashCode(callSuper = true)
@Entity(name = "${tableName}")
public class ${entityName} extends ${baseEntityName} {
<#list entityColumns as column>

    /**
    * ${column.columnComment}
    */
    @Column(name = "${column.columnName}")
    private ${column.javaType} ${column.fieldName};
</#list>
}